package com.seezoon.domain.dao.po;

import java.time.Instant;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UserRefreshTokenPO {

    public static final byte VALID = 1;
    public static final byte REPLACED = 2;

    private Long id;

    private Long uid;

    private String clientId;

    private String refreshTokenId;

    private Integer tokenGeneration;

    private Instant replacedTime;

    private Instant gracePeriodEnd;

    private Byte status;

    private Instant issueTime;

    private Instant expireTime;

    private Instant updateTime;


}